package com.dlry.serviceImpl;

import java.sql.Timestamp;
import java.util.List;

import org.springframework.data.domain.Page;

import com.dlry.entity.DlMeetingRoom;
import com.dlry.entity.DlMeetingRoomBooking;

public interface MeetingRoomService {
	
	List<DlMeetingRoom> finaAll();

	void save(DlMeetingRoom room);

	void update(DlMeetingRoom room);
	
	void delete(Long id);
	
	List<DlMeetingRoomBooking> getBookingsByIdFrom(Long rId, Timestamp timestamp);

	List<DlMeetingRoomBooking> getBookingsByIdBetween(Long rId, Timestamp startDay, Timestamp entDay);

	DlMeetingRoom findById(Long rId);

	Page<DlMeetingRoom> findAll(Integer page, Integer row);
	
}
